package com.neusoft.demo.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.neusoft.demo.po.User;

public interface UserService {
	void saveUser(User user);

	List<User> findAll();

	User findUserById(Integer uid);

	boolean deleteUser(Integer uid);

	boolean updateUser(User user);

	List<User> findByName(@Param("Uname") String Uname);
    //前台需要的接口
	List<User> findId(Integer uid);
	User findByUser(User user);
	void regiseter(User user);
	User findById(Integer uid);
	
	
}